export const columns = [
    {
        title: '事件ID',
        dataIndex: 'eventId'
    },
    {
        title: '事件名称',
        dataIndex: 'eventName',
    },
    {
        title: '事件范围',
        dataIndex: 'eventRange',
    },
    {
        title: '触发方式',
        dataIndex: 'isAsync',
        filters: [
            { text: '同步', value: 0 },
            { text: '异步', value: 1 },
        ],
    },
    {
        title: '状态',
        dataIndex: 'status',
        filters: [
            { text: '启用', value: 1 },
            { text: '停用', value: 0 },
        ],
    },
    {
        title: '优先级',
        dataIndex: 'priority',
    },
    {
        title: '表达式',
        dataIndex: 'expression',
    },
    {
        title: '执行脚本',
        dataIndex: 'runScript',
    },

    {
        title: '操作',
        dataIndex: 'action',
    },

]

export const defaultQueryParams = {
    pageSize: 10,
    pageNum: 1,
    groups:undefined,
    status:undefined,
    searchKey:undefined
}